package com.tc.dispatch.csservice.model.component;

import java.io.*;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2008</p>
 * <p>Company: zju</p>
 * @author jakcyjia
 * @version 1.0
 */

public class ComponentEntry implements Serializable,Component {
  private Object name;
  private Object value;
  public ComponentEntry(Object name,Object value)
  {
    this.name=name;
    this.value=value;
  }
  private void readObject(ObjectInputStream ois) throws ClassNotFoundException, IOException {
    ois.defaultReadObject();
  }
  private void writeObject(ObjectOutputStream oos) throws IOException {
    oos.defaultWriteObject();
  }
  public Object getName() {
    return name;
  }
  public void setName(Object name) {
    this.name = name;
  }
  public Object getValue() {
    return value;
  }
  public void setValue(Object value) {
    this.value = value;
  }
}